package com.xiaodimall.backsys.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author: CJJ
 * @Date: Created in 2022/11/25 20:33
 * @Description: 分装分页查询结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class PageResult<T> {
    private Long total;
    private List<T> records;
}
